package com.example.ben.alltest;

import android.os.Bundle;
import android.support.annotation.Nullable;
import android.support.v7.app.AppCompatActivity;
import android.view.View;
import android.widget.Button;
import android.widget.EditText;
import android.widget.TextView;

import com.example.ben.alltest.R;

/**
 * Created by Ben on 2016/12/14.
 */

public class RegisterActivity extends AppCompatActivity {
    private TextView QX;
    private EditText Phone;
    private Button getCode;
    private EditText TCode;
    private EditText Password;
    private EditText TPassword;
    private Button RRegister;

    @Override
    protected void onCreate(@Nullable Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        setContentView(R.layout.register);
        InitView();
        QX.setOnClickListener(new View.OnClickListener() {
            @Override
            public void onClick(View view) {
                finish();
            }
        });

    }

    //初始化组件
    public void InitView(){
        QX=(TextView)findViewById(R.id.QX);
        Phone=(EditText)findViewById(R.id.RFPhone);
        getCode=(Button) findViewById(R.id.RGetCode);
        TCode=(EditText)findViewById(R.id.RTCode);
        Password=(EditText)findViewById(R.id.RFPassword);
        TPassword=(EditText)findViewById(R.id.RTPassword);
        RRegister=(Button)findViewById(R.id.RRegister);
    }

    //发送信息
    public void SendInfo(){

    }
}
